package com.cndcare.msc.netty.dao.mapper;

import com.cndcare.msc.netty.bean.DangerLogBean;
import com.cndcare.msc.netty.vo.SearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DangerLogMapper {
    List<DangerLogBean> listDangerLogByParams(SearchVo searchVo);

    void updateLog(@Param("mac") String mac, @Param("type") String type);
}
